<template>
	<view>
		<template v-if="selected">
			<text class="text-xsl iconfont color-df">&#xe64d;</text>
		</template>
		<template v-else>
			<view class="checkbox"></view>
		</template>
	</view>
</template>

<script>
	export default {
		name:"check",
		props: {
			selected: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>
.checkbox{
	width: 38rpx;
	height: 38rpx;
	border-radius: 38rpx;
	border: 1rpx solid #ccc;
}
.select-on{
	border: 1rpx solid #d93722;
}
</style>